/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ie.tcd.cs.railtickets.server.dao;

import ie.tcd.cs.railtickets.server.domain.Ticket;

/**
 *
 * @author Wenbo Sun
 */
public interface TicketDAO extends BaseDAO{

    public Ticket findByNo(String ticketNo);

    public boolean isExist(String ticketNo);

    public boolean confirmBy(String ipAddr);
}
